#ifndef MUSICPLAYERENGINE_H
#define MUSICPLAYERENGINE_H

#include "musiccontroller.h"
#include "jsonrpctcpserver.h"

class MusicPlayerEngine : public QObject
{
    Q_OBJECT

public:
    MusicPlayerEngine();
    ~MusicPlayerEngine();

public slots:
    /*void changeClientPosition(qint64 position);
    void changeClientDuration(qint64 duration);
    void changeClientVolume(int volume);
    void changeClientMetaData();

    void sendTrackInformation();*/

    void newClientUpdate(JsonRpcSocket *socket);

private:
    MusicController *p_musicController;
};

#endif // MUSICPLAYERENGINE_H
